package org.dstart.draw.cglobal
{
	import flash.display.DisplayObject;
	
	import org.dstart.draw.cerror.CFinalError;
	
	public final class GInitData extends Object
	{
		public static var BASE_WIDTH:Number	= 0;
		public static var BASE_HEIGHT:Number = 0;
		
		public function GInitData()
		{
			throw new CFinalError("GValue");
		}
		
		//	初始化时设置窗口最初的大小
		public static function InitData(spr:DisplayObject):void
		{
			BASE_WIDTH = spr.stage.stageWidth;
			BASE_HEIGHT = spr.stage.stageHeight;
		} 		
	}
}